<form id="pagerForm" action="{:U($module_name.'/'.$action_name)}">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
	<input type="hidden" name="keywords" value="{$keywords}" />
	<input type="hidden" name="tn" value="{$tn}" />
	<input type="hidden" name="fn" value="{$fn}" />
	<input type="hidden" name="where" value="{$where}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" method="post" action="{:U($module_name.'/'.$action_name)}" onsubmit="return dwzSearch(this, 'dialog');">
	<input type="hidden" name="tn" value="{$tn}" />
	<input type="hidden" name="fn" value="{$fn}" />
	</form>
</div>
<div class="pageContent">

	<table class="table" layoutH="96" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th width="60" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}>ID</th>
				<th orderField="user_id" {if $orderField=='user_id'}class="{$orderDirection}"{/if}>专营商ID</th>
				<th orderField="stype" {if $orderField=='stype'}class="{$orderDirection}"{/if}>专营商类型</th>
				<th orderField="company" {if $orderField=='company'}class="{$orderDirection}"{/if}>专营商公司</th>
				<th orderField="realname" {if $orderField=='realname'}class="{$orderDirection}"{/if}>联系人</th>
				<th orderField="mobile" {if $orderField=='mobile'}class="{$orderDirection}"{/if}>手机</th>
				<th orderField="vesting_province" {if $orderField=='vesting_province'}class="{$orderDirection}"{/if}>专营省份</th>
				<th orderField="vesting_city" {if $orderField=='vesting_city'}class="{$orderDirection}"{/if}>专营城市</th>
				<th orderField="vesting_area" {if $orderField=='vesting_area'}class="{$orderDirection}"{/if}>专营区域</th>
				<th width="80">查找带回</th>
			</tr>
		</thead>
		<tbody>
<volist name="list" id="vo">
			<tr>
				<td>{$vo['id']}</td>
				<td>{$vo['user_id']}</td>
				<td>{$vo['stype']}</td>
				<td>{$vo['company']}</td>
				<td>{$vo['realname']}</td>
				<td>{$vo['mobile']}</td>
				<td>{$Area[$vo['vesting_province']]['name']}</td>
				<td>{$Area[$vo['vesting_city']]['name']}</td>
				<td>{$Area[$vo['vesting_area']]['name']}</td>
				<td>
                    <php>
                    echo "<a class=\"btnSelect\" href=\"javascript:$.bringBack({id:'".$vo['id']."', user_id:'".$vo['user_id']."', vesting_province:'".$vo['vesting_province']."', vesting_city:'".$vo['vesting_city']."', vesting_area:'".$vo['vesting_area']."', company:'".$vo['company']."', realname:'".$vo['realname']."', mobile:'".$vo['mobile']."'})\" title=\"查找带回\">选择</a>";
                    </php>
                </td>
			</tr>
</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
		<select class="combox" name="numPerPage" onchange="navTabPageBreak({targetType:dialog,numPerPage:this.value})">
			<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
			<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
			<option value="66" {if $numPerPage==66}selected="selected"{/if}>66</option>
			<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
			<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			<option value="500" {if $numPerPage==500}selected="selected"{/if}>500</option>
		</select>
		<span>条，共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="dialog" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}"></div>
	</div>
</div>